(diff-apply-hunk): Use proper format string for
authorAndreas Schwab <schwab@suse.de>
Sun, 11 Mar 2007 10:44:41 +0000 (10:44 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 11 Mar 2007 10:44:41 +0000 (10:44 +0000)
error.

lisp/diff-mode.el

index ccd945db98e316714754f9307d63291f22d10e24..543e1bd6a399d9aabd7471804192e22da208bdde 100644 (file)
@@ -1375,7 +1375,8 @@ With a prefix argument, REVERSE the hunk."
                        (yes-or-no-p (format "Really apply this hunk to %s? "
                                             (file-name-nondirectory
                                              buffer-file-name)))))))
-      (error (substitute-command-keys
+      (error "%s"
+            (substitute-command-keys
               (format "Use %s\\[diff-apply-hunk] to apply it to the other file"
                       (if (not reverse) "\\[universal-argument] ")))))
      ((and switched